const { contextBridge, ipcRenderer } = require('electron')

contextBridge.exposeInMainWorld('electronAPI', {
  openCalculator: (url) => ipcRenderer.send('open-window', url)
});